<template>
  <div>
    <div class="flex items-center truncate">
      <div :title="value.mc" class="font-semibold">{{ value.mc }}</div>
      <div v-if="value.gg" :title="value.gg" class="ml-2 font-semibold">{{ value.gg }}</div>
      <div v-if="value.cj" :title="value.cj" class="ml-2 font-semibold">{{ value.cj }}</div>
      <div v-if="value.ph" :title="value.ph" class="ml-2 font-semibold">{{ value.ph }}</div>
      <div v-if="value.yxq" :title="value.yxq" class="ml-2 font-semibold">{{ value.yxq }}</div>
    </div>
    <div>
      <slot name="suffix"></slot>
    </div>
  </div>
</template>
<script setup>
defineProps({
  value: {
    type: Object,
    default: () => ({ mc: '', gg: '', cj: '', ph: '', yxq: '' })
  }
})
</script>
